from deepseek import load_model

# 加载预训练模型
model = load_model("resnet50")

# 预测图像
result = model.predict("cat.jpg")
print("Predicted class:", result["class"])
print("Confidence:", result["confidence"])